home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-26 | 2.6 KB | 90 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- #ifndef FWMENUS_K
- #include "FWMenus.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
- #define kAboutIconID 130
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kODFxPartStrings 1000
-
- #define kFirstString 1
- #define kMacString 2
- #define kWinString 3
- #define kBlankString 4
-
- #ifdef FW_BUILD_MAC
- #define kPlatformString kMacString
- #endif
- #ifdef FW_BUILD_WIN
- #define kPlatformString kWinString
- #endif
-
- #define kODFxUndoStrings 1002
-
- #define kUndoDropMsg 1
- #define kRedoDropMsg 2
- #define kUndoResetMsg 3
- #define kRedoResetMsg 4
- #define kUndoPasteMsg 5
- #define kRedoPasteMsg 6
- #define kUndoChangeMsg 7
- #define kRedoChangeMsg 8
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- // ----- Command IDs
- #define c4Colors FW_kFirstUserCommandID
- #define c9Colors c4Colors + 1
- #define cSeparator1 c9Colors + 1
- #define cGridLines cSeparator1 + 1
- #define cSeparator2 cGridLines + 1
- #define cLowRes cSeparator2 + 1
- #define cMedRes cLowRes + 1
- #define cHighRes cMedRes + 1
- #define cSeparator3 cHighRes + 1
- #define cRotateColors cSeparator3 + 1
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
-
- #endif
-
-